<template>
  <div id="Text">
    <div id="tittle">
      <h3>扫码点餐配置</h3>
    </div>

    <div class="text">
      <p>支付类型:</p>

      <el-radio v-model="radio1"
                label="1"
                border>先下单后付款</el-radio>
      <el-radio v-model="radio1"
                label="2"
                border>允许先付款后下单</el-radio>
      <el-radio v-model="radio1"
                label="3"
                border>仅允许下单</el-radio>
    </div>
    <div class="text">
      <p>合单模式:</p>
      <el-radio v-model="radio2"
                label="4"
                border>合单</el-radio>
      <el-radio v-model="radio2"
                label="5"
                border>不合单</el-radio>

    </div>
    <el-form label-width="80px">
      <el-form-item>
        <el-button type="primary"
                   @click="onSubmit"
                   class="btn1">确定</el-button>
        <el-button class="btn2">取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  data () {
    return {
      radio1: '1',
      radio2: '1',
      radio3: '1',
      radio4: '1',
    };

  },
  methods: {
    onSubmit () {
      alert(1)
    }
  }
}
</script>
<style scoped>
.text {
  margin: 40px 0 0 100px;
}
p {
  margin-bottom: 30px;
}
label {
  width: 180px !important;
  height: 70px !important;
  padding: 0px !important;
  margin: 20px !important;
  line-height: 70px;
  text-align: center;
}
#tittle {
  background-color: rgb(242, 242, 242);
  padding: 20px 0 20px 20px;
}
h3 {
  color: black;
  font-weight: 500;
}
#Text {
  border: 1px solid rgb(230, 230, 230);
  height: 100%;
}
.btn1 {
  margin: 50px 0 0 150px;
  width: 98px;
}
.btn2 {
  margin: 50px 0 0 80px;
  width: 98px;
}
</style>>

